package com.wen.center.user.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

/**
 * Created by LAIO on 2018/5/27.
 */
@Mapper
@Getter
@Setter
public class UserInfo {

    /**
     * user_id              bigint not null auto_increment comment '用户id',
     * user_name            varchar(255) not null comment '登陆名',
     * real_name            varchar(255),
     * nick_name            varchar(255),
     * password             varchar(255) not null,
     * sex                  tinyint default 0 comment '0：未知  1：女 2：男',
     * birth                datetime,
     * telephone            varchar(20),
     * email                varchar(255),
     * exit_info            varchar(255),
     * create_time          datetime not null,
     * update_time          datetime not null comment '更新时间',
     */

    private Long userId;
    private String userName;
    private String realName;
    private String nickName;

    @JsonIgnore
    private String password;

    private Integer sex;

    private Date birth;
    private String telephone;
    private String email;
    private String exitInfo;
    private Date createTime;
    private Date updateTime;


}
